package com.qbd.dao;

import java.util.List;
import java.util.Map;

import com.qbd.model.Area;

public interface AreaMapper {
	int deleteByPrimaryKey(String id);

	int insert(Area record);

	int insertSelective(Area record);

	Area selectByPrimaryKey(String id);

	Area selectByName(String name);

	Area selectByNameAndCid(Map<String, Object> map);

	int updateByPrimaryKeySelective(Area record);

	int updateByPrimaryKey(Area record);

	Long getTotal(Map<String, Object> map);

	List<Area> selectByPage(Map<String, Object> map);
	
	List<Area> selectByPage1(Map<String, Object> map);

	List<Area> selectByCid(Map<String, Object> map);
}